package com.chinasofti.manager.domain.constr2;

public class Student {
    private String name;
    private int age;

//    public Student(){}
    public Student(String name,int age){
        this.name = name;
        this.age = age;
        System.out.println("我是有参构造");
    }
    public void show(){
        System.out.println(name+age);
    }
}
